#ifndef DUCK_H
#define DUCK_H
#include <iostream>

#include "flybehavior.h"
#include "flywithwings.h"
#include "flynoway.h"

#include "quackbehavior.h"
#include "normquack.h"
#include "squack.h"
#include "mutequack.h"

using namespace std;

class Duck
{
protected:
    FlyBehavior* flyBehavior;
    QuackBehavior* quackBehavior;
    FlyNoWay* flyNoWay;
public:
    Duck();
    void swim();
    void performFly();
    void performQuack();
    virtual void display() = 0;
};

#endif // DUCK_H
